/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.thienloc.omap.controller;

import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap;
import java.io.Serializable;

/**
 *
 * @author GiangLT
 */
public class TransactionError implements Serializable {

    public static BiMap<String, String> errorMap = HashBiMap.create(28);

    static {
        TransactionError.errorMap.put("00", "Ma so nap tien khong ton tai hoac da duoc su dung");
        TransactionError.errorMap.put("01", "Giao dich thanh cong");
        TransactionError.errorMap.put("03", "The da duoc su dung");
        TransactionError.errorMap.put("04", "The da bi khoa");
        TransactionError.errorMap.put("05", "The da het han su dung");
        TransactionError.errorMap.put("06", "The chua duoc kich hoat");
        TransactionError.errorMap.put("07", "Thuc hien sai qua so lan cho phep");
        TransactionError.errorMap.put("08", "Giao dich nghi van (Timeout tu telco)");
        TransactionError.errorMap.put("09", "Sai dinh dang thong tin truyen vao");
        TransactionError.errorMap.put("10", "Partner khong ton tai");
        TransactionError.errorMap.put("11", "Partner bi khoa");
        TransactionError.errorMap.put("13", "He thong cua don vi phat hanh dang ban");
        TransactionError.errorMap.put("14", "Sai Password");
        TransactionError.errorMap.put("15", "Sai dia chi IP");
        TransactionError.errorMap.put("16", "Sai chu ky");
        TransactionError.errorMap.put("20", "Sai do dai ma so nap tien");
        TransactionError.errorMap.put("21", "Ma giao dich khong hop le");
        TransactionError.errorMap.put("22", "Ma nap tien dang cho don vi phat hanh xu ly");
        TransactionError.errorMap.put("23", "Serial the khong hop le");
        TransactionError.errorMap.put("24", "Ma so nap tien va so serial khong khop");
        TransactionError.errorMap.put("25", "Trung ma giao dich (transRef)");
        TransactionError.errorMap.put("26", "Ma giao dich khong ton tai");
        TransactionError.errorMap.put("28", "Ma so nap tien khong dung dinh dang");
        TransactionError.errorMap.put("40", "Loi ket noi toi don vi phat hanh");
        TransactionError.errorMap.put("41", "Loi khi don vi phat hanh xu ly giao dich");
        TransactionError.errorMap.put("51", "Don vi phat hanh khong ton tai");
        TransactionError.errorMap.put("52", "Don vi phat hanh khong ho tro nghiep vu nay");
        TransactionError.errorMap.put("99", "Loi khong xac dinh khi xu ly giao dich");
    }
}
